import request from './request'

export function fastStatistics(): Promise<any> {
    return request.get('/api/v1/crm/sign-contract-record/info')
}


// 获取销售目标
export function getSaleTaskapi(params: any) {
    return request.get('/api/v1/crm/sales/task/getSaleTask', params)
}

// 业绩概览-子弹发薪
export function getsigncontractrecordinfoapi(params: any) {
    return request.get('/api/v1/crm/sign-contract-record/get-pay-sale-achievement', params)
}

// 业绩概览-长期保
export function getperioddataapi(params: any) {
    return request.get('/api/v1/crm/sign-contract-record/get-period-data', params)
}

// 业绩概览-日日保
export function getwesuredataapi(params: any) {
    return request.get('/api/v1/crm/sign-contract-record/get-wesure-data', params)
}

// 业绩概览-团意日保
export function getwesuredatatyrbapi(params: any) {
    return request.get('/api/v1/crm/sign-contract-record/get-wesure-data', params)
}

// 业绩概览-电子签
export function getelesalesdataapi(params: any) {
    return request.get('/api/v1/crm/sign-contract-record/get-ele-sales-data', params)
}